For those resellers who are located in a country far from Germany, network latency may be an issue. To greatly increase response times and performance, HEXONET highly recommends the use of persistent connections to our API servers. Use of this technique will reduce connection overhead and thus increase performance.
Step 1: Required Apache2 Packages and Modules
- Apache version 2.2.9 or higher is required.
- The following Apache2 modules must be installed and activated:
proxy.conf
proxy.load
proxy_http.load
ssl.conf # for HTTPs connection to our API server
ssl.load # for HTTPs connection to our API server
Step 2: Apache Configuration
- Apache configuration with binding to localhost.
- The following Apache2 modules must be installed and activated:
<VirtualHost 127.0.0.1:80>
ServerAdmin webmaster@localhost
ServerSignature Off
SSLProxyEngine on
ProxyPass /api/call.cgi https://api.ispapi.net/api/call.cgi min=1 max=2
<Proxy *>
Order Deny,Allow
Deny from none
Allow from all
</Proxy>
</VirtualHost> - After saving your configuration changes please restart the Apache webserver.
Step 3: Use the proxy on localhost as API socket
- If your current API socket URL probably looks like this:
https://api.ispapi.net/api/call.cgi?s_entity=ENTITY&s_login=LOGIN&s_pw=PASSWORD - Please change this to:
http://127.0.0.1/api/call.cgi?s_entity=ENTITY&s_login=LOGIN&s_pw=PASSWORD
Questions or additional help with the High Performance Proxy setup can be sent to technical Support at [email protected]